package java56_4;

import java.util.Scanner;

public class ExamTest {

	public static void main(String[] args) {
		// TODO 自动生成的方法存根
		Scanner sc = new Scanner(System.in);
		String reply = "";
		do {
			System.out.println("做测试题：");
			System.out.println("老师检查,合格了？");
			reply = sc.next();
		} while ("no".equals(reply));
		System.out.println("恭喜");
	}
}
